body {
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
    font: 16px/1.5 Microsoft YaHei,'Heiti SC', tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
    /* color: #666; */
}

.header { 
    background-image: linear-gradient(to bottom, #FFFFFF, #F2F2F2); 
    background: -webkit-linear-gradient(#FFFFFF,#F2F2F2);  
    opacity: 0.99;
    border-bottom: 1px solid #d3d3d3;
    color: #777;
    font-size: 14px;
    margin-bottom: 25px;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 0 5px #ccc;
    overflow: visible;
}

.container {
    width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.header .logo {
    float: left;
    line-height: 38px;
    padding: 0 20px 0 45px;
    font-size: 18px;
    background: url(../../img/logo.gif) no-repeat scroll 0px 10px transparent;
    color: #666;
}

.header .nav {
    float: left;
    font-weight: bold;
    overflow: visible;
}
 


.header .nav li {
    float: left;
    display: block;
}

.header .nav li a {
    display: block;
    line-height: 38px;
    padding: 0 14px 0 14px;
    margin: 0 1px 0 1px;
    color: #777; 
}

.header .nav-user {
    float: right;
}
 
.header .nav .dropdown {
    font-family: 'Microsoft YaHei UI','Microsoft YaHei','微软雅黑',"MicrosoftJhengHei", '华文细黑', STHeiti, MingLiu,serif;
    color: #777;
    font-size: 14px;
    list-style: none;
    font-weight: bold;
    margin: 0;
    padding: 0;
    float: left;
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 100;
}

.header .nav .dropdown a.title {
    font-size: 14px;
    list-style: none;
    font-weight: bold;
    box-sizing: border-box;
    text-decoration: none;
    display: block;
    line-height: 38px;
    padding: 0 14px 0 14px;
    margin: 0 1px 0 1px;
    color: #777;
    position: relative;
}

.header .nav .dropdown:hover a.title{
    padding-left: 13px;
    padding-right: 13px;
    z-index: 110;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom: none;
    box-shadow: 0 -5px 5px #aaa;
    background-color: #fff;
}

.header .nav .dropdown a:hover.title{
    color: black;
}

 #tips_a{
    font-size: 14px;
    list-style: none;
    font-weight: bold;
    box-sizing: border-box;
    text-decoration: none;
    display: block;
    line-height: 38px;
    padding: 0 14px 0 14px;
    margin: 0 1px 0 1px;
    color: #777;
    position: relative;
 }

 #tips_a:hover{
    color: black;
 }

 /* .dropdown:hover   #tips_list{
    border: 1px solid #ccc;
    border-top: none;
    border-bottom: none;
    box-shadow: 0 -5px 5px #aaa;
    background-color: #fff; 
    display: block;
 } */

 .dropdown > #tips_list{
    position: absolute;
    left: 0px;
    /* display: none; */
    /* background-color: #333; */
 }

.user{
    position: absolute;
    width: 100px; 
    right: -50px;  
    display: none;
}

.user li:hover{
    background-color: blueviolet;
}
 
.header .nav .dropdown:hover .user { 
            display: block;
            position: absolute;
            z-index: 100;
            right: 0;
            top: 37px;
            border: 1px solid #ccc;
            background-color: #fff;
            font-size: 12px;
            font-weight: normal;
            text-align: left;
            padding: 0;
            box-shadow: 0 0 5px #aaa;  
}

 .nav li a:hover{
    color: black;
 }

.title:hover{
    color: black;
}

.user >li> a:hover{
    color: black;
}
 
.caret {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #666;
    content: "";
    display: inline-block;
    height: 0;
    vertical-align: top;
    width: 0;
    margin-top: 18px;
}

.header .nav .dropdown ul.msg {
    width: 180px;
    padding: 10px;
    right: -20px;
    min-height: 45px; 
    border: 1px solid #ccc;
    border-top: none;
    border-bottom: none;
    box-shadow: 0 -5px 5px #aaa;
    background-color: #fff; 
    display: none;
   margin-left: -70px;

}

 

.header .nav .dropdown:hover ul.msg { 
    display: block;

}

ul.msg li {
    line-height: 18px;
    padding-bottom: 5px;
}
 
.header .nav .dropdown ul.user {
    width: 120px;
}

.header .nav .dropdown ul li {
    display: block;
    float: none;
    padding: 0;
    margin: 0;
}

.header .nav .dropdown ul li a {
    border: none;
    height: 28px;
    line-height: 28px;
    margin: 0;
    padding: 0 10px;
    color: #333;
    font-weight: normal;
    background-color: transparent;
    box-shadow: none;
}

/* ------------------------------- */

#page-main { 
    font-size: 13px;
    color: #333;
    width: 960px;
    margin: 0 auto;
    padding: 0 10px;
    margin-top: 60px;
    min-height: 400px;
}

.container .sidebar {
    width: 220px;
    float: right;
    min-height: 300px;
}

.sidebar .title-date {
    font-size: 56px;
    line-height: 48px;
    font-family: Arial, Helvetica, sans-serif;
    color: #555;
    position: relative;
    margin-bottom: 5px;
}

.sidebar .title-date span {
    font-size: 28px;
}

.sidebar .title-date b {
    font-size: 13px;
    position: absolute;
    top: -12px;
    right: 10px;
}

.sidebar .sidebar-item {
    margin-bottom: 20px;
}

.sidebar .user-info .title {
    font-size: 28px;
    line-height: 32px;
    display: inline-block;
}

.sidebar .user-info .title a {
    color: #333;
}

a {
    text-decoration: none;
    color: #2E8BCC;
}

.sidebar .user-info img {
    display: block;
    margin-bottom: 10px;
}

/* ------------------------------- */
 
.container .main {
    width: 690px;
    float: left;
    padding-bottom: 60px;
}
 
.page-header {
    font-size: 20px;
    border-bottom: 0 solid #9CF;
    padding: 0 0 7px 0;
    margin-bottom: 10px;
    color: #555;
}

.diary, .comment {
    border-top: 1px dashed #d5d5d5;
    padding: 20px 0 5px 0;
}

.diary .body-no-icon {
    padding-left: 0;
}

.diary .body .title, .comment .body .title {
    font-size: 13px;
    margin-bottom: 10px;
    color: #789;
}

.diary .body .title .book, .comment .body .title .action {
    color: #789;
    margin-left: 8px;
}

.diary .body .content, .comment .body .content {
    color: #333;
    line-height: 1.8em;
    padding-top: 3px;
    font-size: 13px;
    overflow: hidden;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
}

img.emojione {
    width: auto;
}

.diary .body .bottom {
    margin: 20px 0 0 0;
    text-align: right;
    clear: left;
}
 
.diary .body .bottom a {
    color: #789;
}

.page-header {
    font-size: 20px;
    border-bottom: 0 solid #9CF;
    padding: 0 0 7px 0;
    margin-bottom: 10px;
    color: #555;  
}

.notebooks {
    margin-left: -14px;
}

.notebook {
    display: block;
    float: left;
    width: 160px;
    margin: 0 0 25px 14px;
    color: #999;
    height: 220px;
    border: 1px solid #e5e5e5;
    border-right: none;
    border-bottom: none;
    padding: 0;
    position: relative;
    box-shadow: 1px 1px 1px #999;
    background-color: #f8f8f8;
}

.notebook .cov {
    position: relative;
    display: block;
    width: 160px;
    height: 120px;
}

.notebook .cov .cover {
    width: 160px;
    height: 120px;
    background-color: #fff;
}

.notebook .cov .icon {
    display: block;
    position: absolute;
    height: 22px;
    bottom: 4px;
    right: 4px;
    filter: alpha(opacity=65);
    -moz-opacity: .65;
    opacity: 0.65;
}

.notebook h3 {
    font-size: 15px;
    height: 66px;
    display: table;
    line-height: 18px;
}

.notebook h3 a {
    display: table-cell;
    vertical-align: middle;
    width: 160px;
    text-align: center;
    padding: 5px;
    color: #333;
}

.notebook p {
    padding: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 11px;
    text-align: center;
    width: 150px;
}


input[type="button"], input[type="submit"], button, .btn, .pagination a {
    display: inline-block;
    padding: 7px 12px;
    background-color: #39E;
    /* background: -moz-linear-gradient(#39E,#2389de);  */
    border: 1px solid #39E;
    color: #fff;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.btn-link {
    background: transparent;
    border: transparent;
    color: #2E8BCC;
    padding: 0;
    cursor: pointer;
    margin-top: 10px;
}

.bun:hover,.btn-link:hover,.jb:hover{
    color: #333;
    background-color: #39E;
}

/* -----------------------底部------------------------------ */
.footer {
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    padding: 30px 0;
    margin-top: 60px;
    clear: both;
    line-height: 24px;
    color: #777;
    background-color: #fafafa;
}

.container {
    width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.footer a {
    color: #777;
    text-decoration: underline;
}

.footer .top {
    float: right;
    padding: 0 5px;
    color: #fff;
    text-decoration: none;
    background-color: #789;
    position: fixed;
    bottom: 20px;
    right: 10px;
}